﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WeddingEventManagement_API
{
    public interface IClientManager
    {
        //Read
        Client GetClient(int id);
        List<Client> GetClients(string filter);
        List<Client> GetClients();
        List<Client> GetInactiveClients();
        List<Client> GetMostRecentlyViewedClients(int num);
        List<Client> GetMostRecentlyAddedClients(int num);
        List<String> GetUniqueCities();
        List<ClientIsotope> GetIsotopeClients();

        //Create
        int CreateClient(string firstName, string lastName, string email, string address, string city, Province provence,
            string postalCode, string notes, List<ClientPhone> phoneNumbers, Guid creatorUserID);

        //Update
        void UpdateClient(Client client, Guid userID);

        //Delete
        void DeleteClient(int clientId, Guid updateUserId);


        bool DeletePhoneNumber(int id);
    }
}
